﻿
namespace Messaging2
{
    public interface ITransport
    {
        IListener Listener { get; }

        string Publish(IMessage message);

        void Listen(string topic, bool requestCache = false);

        void Dispose();
    }
}
